package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: experienceTicketRecord 
* @Description: 体验券领取记录定义表
* @author eason
* @date 2016-12-28 10:05:04
*
 */
@Entity
@Table(name = "tb_xa_experienceticketrecord")
@ApiModel(value="体验券领取记录定义表")
public class ExperienceTicketRecord extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="用户id,用户id")
	private Long userId;
	@ApiModelProperty(value="体验券id,体验券id")
	private Long experienceTicketId;
		
	
	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setExperienceTicketId(Long experienceTicketId){
		this.experienceTicketId=experienceTicketId;
	}
	
	@Column(nullable=true,length=50)
	public Long getExperienceTicketId(){
		return experienceTicketId;
	}
		

}
